﻿using Platformer_Example.Content.Images.Environment;
using Platformer_Example.Controller.Map;
using Transformable_Engine_v2.Engine.GameObjects.Containers;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Platformer_Example.Controller.Terrain.Castle
{
    public class CastleStair : BaseStair
    {
        public CastleStair(TE_Vector2 position, MapCellData.StairType type) : base(position, type)
        {
        }

        protected override void AddSprite(MapCellData.StairType type)
        {
            AddChildren(new ImageContainer
                            {
                                Sprite = SpritesheetCastle.GetSprite(type)
                            });
        }
    }
}